<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>分类列表</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- layui.css -->
    <link href="/libs/layui/css/layui.css" rel="stylesheet">
    <style>
        .layui-table-view .layui-table {
            width: 100% !important;
        }
    </style>
    <!-- layui.js -->
    <script src="/libs/layui/layui.js"></script>
    <script src="/libs/axios.js"></script>
</head>

<body>
    <div class="layui-card">
        <div class="layui-card-header">分类管理-分类列表</div>
        <div class="layui-card-body">
            <!-- 表格 -->
            <table class="layui-hide" id="cate" lay-filter="test"></table>
            <!-- 头部工具栏 -->
            <script type="text/html" id="toolbarDemo">
                <a href="/cates/add" class="layui-btn">分类添加</a>
            </script>
            <!-- 单元格工具栏 -->
            <script type="text/html" id="op">
                <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
                <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
            </script>
        </div>
    </div>
    <!-- 引入自己的js -->
    <script src="/js/cate/cate.js"></script>
</body>

</html>